import App from './App'
import store from './store'
import y_tabBar from "@/components/y_tabBar";
import y_tabBarPro from '@/components/y_tabBarPro'
import y_card from '@/components/y_card'
import image_shadow from '@/components/image_shadow'
import '@/components/iconfont/iconfont.css'
import '@/style.css'


// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App,
  store
})


Vue.component('y_tabBar', y_tabBar)
Vue.component('y_tabBarPro', y_tabBarPro)
Vue.component('image_shadow', image_shadow)
Vue.component('y_card', y_card)
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif